<?php if($sf_flash->has('status')): ?>
    <?php if($sf_flash->get('status') == MyConstants::STATUS_FAILED):?>
        <?php echo __('Payment rejected.');?>
    <?php endif; ?>
<?php endif; ?>
<?php if(!empty($message)): ?>
    <?php echo __($message); ?>
<?php endif; ?>

